package cn.edu.zut.service;

import cn.edu.zut.model.Book;
import cn.edu.zut.model.BorrowBook;
import cn.edu.zut.model.Reader;

import java.util.Date;
import java.util.List;

public interface BorrowBookService {
    int insertBorrowerInfo(BorrowBook borrowBook);
    int deleteBorrowInfo(BorrowBook borrowBook);
    int updateBorrowInfo(BorrowBook borrowBook);
    int updateBorrowByBookId(BorrowBook borrowBook);
    int updateBorrowFlag(BorrowBook borrowBook);
    Reader selectReaderByReaderId(String readerId);
    List<Book> selectBooksByReaderId(String readerId);
    List<BorrowBook> selectBorrowBookInfo(String readerId);
}
